<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/23
 * Time: 15:24
 */
namespace app\api\validate;

class IDMustPositveInt extends BaseValidate {

    protected $rule = [
        'id'=>'require|isPositveInteger'
    ];

    protected $message = [
        'id'=>'id必须为正整数'
    ];
}
















